package cn.kkcxy.blog.core.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @BelongsProject: kkcxy-blog
 * @BelongsPackage: cn.kkcxy.blog.core.vo
 * @Author: kkcxy
 * @CreateTime: 2024-10-17 02:11
 * @Description: 登录成功VO
 * @Version: 1.0
 */
@Data
@Schema(description = "登录成功VO")
public class LoginVO implements Serializable {

    @Schema(description = "token")
    private String token;

    @Schema(description = "角色列表")
    private List<String> roles;

    @Schema(description = "权限列表")
    private List<String> permissions;
}
